//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    class ExternalReferencedSheet
    {
        private readonly Workbook _book;
        private readonly int _firstTabIndex;
        private readonly int _lastTabIndex;

        public ExternalReferencedSheet(Workbook book, int firstTabIndex, int lastTabIndex)
        {
            _book = book;
            _firstTabIndex = firstTabIndex;
            _lastTabIndex = lastTabIndex;
        }

        public int LastTabIndex
        {
            get { return _lastTabIndex; }
        }

        public int FirstTabIndex
        {
            get { return _firstTabIndex; }
        }

        public Workbook Book
        {
            get { return _book; }
        }
    }
}